package com.zzc.service;

import com.zzc.mapper.UserMapper;
import com.zzc.pojo.UserInfor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImp implements UserService {

    @Autowired
    UserMapper userMapper;

    @Override
    public UserInfor queryUserByName(String name) {
        return userMapper.queryUserByName(name);
    }
}
